package com.lsz.deport.json;

import androidx.annotation.Keep;

import java.util.List;

@Keep
public class ProductChoiceBean {
    /**
     * content : [{"orderId":"30400","orderSeq":"202003240000230400","receiver":"张三","receiverPhone":"020-81167888","receiverAddr":"新港中路397号","orderStatus":"2"}]
     * pageable : {"sort":{"sorted":false,"unsorted":true,"empty":true},"pageNumber":"1","pageSize":"20","offset":"20","unpaged":false,"paged":true}
     * totalPages : 2
     * totalElements : 21
     * last : true
     * sort : {"sorted":false,"unsorted":true,"empty":true}
     * first : false
     * numberOfElements : 1
     * size : 20
     * number : 1
     * empty : false
     */

    public PageableBean pageable;
    public String totalPages;
    public String totalElements;
    public boolean last;
    public SortBeanX sort;
    public boolean first;
    public String numberOfElements;
    public String size;
    public String number;
    public boolean empty;
    public List<OrderContentBean> content;


    @Keep
    public class PageableBean {
        /**
         * sort : {"sorted":false,"unsorted":true,"empty":true}
         * pageNumber : 1
         * pageSize : 20
         * offset : 20
         * unpaged : false
         * paged : true
         */
        public SortBean sort;
        public String pageNumber;
        public String pageSize;
        public String offset;
        public boolean unpaged;
        public boolean paged;

        @Keep
        public class SortBean {
            /**
             * sorted : false
             * unsorted : true
             * empty : true
             */

            public boolean sorted;
            public boolean unsorted;
            public boolean empty;
        }
    }

    @Keep
    public class SortBeanX {
        /**
         * sorted : false
         * unsorted : true
         * empty : true
         */

        public boolean sorted;
        public boolean unsorted;
        public boolean empty;
    }
}
